FROM adoptopenjdk/openjdk8
MAINTAINER lsy_loren <lsy_loren@qq.com>
WORKDIR /app
ADD ./target/learn-demo-28-1.0-SNAPSHOT.jar ./demo.jar
ENV TZ "Asia/Shanghai"
EXPOSE 8080
ENTRYPOINT ["java", "-jar", "demo.jar"]